﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebFormCentroDeCostos_Insertar.aspx.cs" Inherits="Sitio.WebFormCentroDeCostos" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
     <link href ="estilo.css"  rel="Stylesheet" type="text/css" />
    <style type="text/css">
        .nuevoEstilo1
        {
        }
        .style2
        {
            height: 26px;
            width: 251px;
        }
        .style3
        {
            width: 251px;
            font-weight: bold;
            font-size: medium;
        }
        .style8
        {
            width: 598px;
        }
        .style9
        {
            text-decoration: underline;
            font-weight: bold;
            font-size: x-large;
        }
        .style10
        {
            height: 26px;
            width: 251px;
            font-weight: bold;
            font-size: medium;
        }
        .style11
        {
            font-size: xx-large;
            text-decoration: underline;
        }
        .style12
        {
            font-size: x-large;
            text-decoration: underline;
            font-weight: bold;
            font-style: italic;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <span class="style9">Centros de Costos&nbsp;&nbsp; -----&nbsp;&nbsp; (Insertar)</span><br />
        <br />
            <asp:Label ID="lblMensaje" runat="server" 
            style="font-weight: 700; color: #3333FF; font-size: large;"></asp:Label>
        <br />
        <br />
            <asp:Panel ID="pnlNuevo" runat="server">
                <table style="width: 100%;">
                    <tr>
                        <td class="style10">
                            Nombre:</td>
                        <td class="style8">
                            <asp:TextBox ID="txtNombre" runat="server" Width="194px" MaxLength="50" 
                                ToolTip="Insertar Nombre" style="font-size: medium"></asp:TextBox>
                        </td>
                        <td>
                            </td>
                    </tr>
                    <tr>
                        <td class="style3">
                            Descripcion:</td>
                        <td class="style8">
                            <asp:TextBox ID="txtDescripcion" runat="server" Width="452px" MaxLength="200" 
                                ToolTip="Insertar Descripcion" style="font-size: medium"></asp:TextBox>
                        </td>
                        <td>
                            </td>
                    </tr>
                    <tr>
                        <td class="style2">
                            &nbsp;</td>
                        <td class="style8">
                            <h6>
                                <asp:Button ID="btnGuardar" runat="server" onclick="btnGuardar_Click" 
                                    style="font-weight: 700; color: #000000; font-size: medium;" 
                                    Text="Guardar" />
                                &nbsp;
                                <asp:Button ID="Button1" runat="server" onclick="Button1_Click1" 
                                    style="font-size: medium; font-weight: 700" Text="Regresar" />
                            </h6>
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                </table>
            </asp:Panel>
            <asp:Panel ID="pnlBuscar" runat="server"> 
                &nbsp;<span class="style2"><i><b><br />
                <asp:Label ID="lblMensaje0" runat="server" Font-Size="Large" ForeColor="Red"></asp:Label>
                <br />
                <br class="style11" />
                </b></i><span class="style12">Resultados</span><strong><br />
                <br />
                <br />
                <asp:GridView ID="grdCentroDeCosto" runat="server" AutoGenerateColumns="False" 
                    onrowcommand="ResultGrid_RowCommand" 
                    onselectedindexchanged="grdCentroDeCosto_SelectedIndexChanged" 
                    BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" 
                    CellPadding="4" EnableModelValidation="True" ForeColor="Black" 
                    GridLines="Horizontal" style="font-size: medium">
                    <Columns>
                        <asp:BoundField DataField="SNOMBRECENTRODECOSTO1" 
                            HeaderText="SNOMBRECENTRODECOSTO" SortExpression="SNOMBRECENTRODECOSTO" />
                        <asp:BoundField DataField="SDESCRIPCION1" HeaderText="SDESCRIPCION" 
                            SortExpression="SDESCRIPCION" />
                    </Columns>
                    <FooterStyle BackColor="#CCCC99" ForeColor="Black" />
                    <HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Right" />
                    <SelectedRowStyle BackColor="#CC3333" Font-Bold="True" ForeColor="White" />
                </asp:GridView>
                <br />
                </strong></span>
            </asp:Panel>
    
    </div>
    </form>
</body>
</html>
